package com.stevlu.bean;

import java.sql.Timestamp;

/**
 * Created by Steven Lu on 2018/11/21.
 */
public class JobLevel {
	private Long id;
	private String name;
	private String titleLevel;
	private Timestamp createDate;

	@Override
	public boolean equals(Object o) {
		if (this == o)
			return true;
		if (o == null || getClass() != o.getClass())
			return false;

		JobLevel jobLevel = (JobLevel) o;

		return name != null ? name.equals(jobLevel.name) : jobLevel.name == null;
	}

	@Override
	public int hashCode() {
		return name != null ? name.hashCode() : 0;
	}

	public JobLevel() {

	}

	public JobLevel(String name) {

		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitleLevel() {
		return titleLevel;
	}

	public void setTitleLevel(String titleLevel) {
		this.titleLevel = titleLevel;
	}

	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}
}
